home *** CD-ROM | disk | FTP | other *** search
/ Asymetrix Multimedia Toolbook 4.0 (CBT Edition) / Asymetric Multimedia Toolbook 4.0 (CBT Edition).iso / ctb40sm.z / CBT2.TBK (.txt) < prev    next >
Asymetrix ToolBook File  |  1995-11-13  |  103KB  |  1,648 lines

  1. *ClassTbl*
  2. *ClassEntry*
  3. *PTABLE*
  4. *WINDOWSEG*
  5. Viewer
  6. *ICONRESTAB*
  7. *ICONRESSEG*
  8. *ICONRES*
  9. Background
  10. *OBJTABLE*
  11. *IDTABLE*
  12. *NAMETAB*
  13. Rectangle
  14. Ellipse
  15. RoundedRectangle
  16. Polygon
  17. IrregularPolygon
  18. AngledLine
  19. Curve
  20. Field
  21. RecordField
  22. ComboBox
  23. Button
  24. PaintObject
  25. Picture
  26. Hotword
  27. *RHOTWORD*
  28. Group
  29. Stage
  30. *TbxBase*
  31. content
  32. chapterHeadings
  33. introscreen
  34. outlineOrganizer
  35. newChapterOrTopic
  36. newpage
  37. previous
  38. first
  39. strChecked
  40. outlineOrganizer
  41. chapterCount
  42. topicCount
  43. selectChars
  44. false
  45. visited
  46. strChecked
  47. strChecked
  48. outline
  49. topline
  50. group
  51. topLine
  52. X sizeIt
  53. bottomLine
  54. sizeIt
  55. sizeIt
  56. bottomLine 
  57. topline 
  58. m"topLine" 
  59. objs 
  60.         rec = 
  61.         sz = 
  62.         pupp = syspageUnitsPerPixel
  63. sz > 
  64. sz > 
  65.             xpix = 
  66. syspageunitsperpixel
  67.             ypix = 
  68.             b = 
  69.             ll = 
  70.             lr = 
  71.             ur = 
  72.             ul = 
  73. ul,lr
  74. --            
  75. ll,lr,ur
  76. --            
  77. ll,ul,
  78. in,ms
  79. ThreeDeeRect
  80. bottomLine
  81. topLine
  82. outline
  83. strChecked
  84. selectedTextline
  85. Dogs                                        62
  86.     Dalmations                                        132
  87.     Poodles                                        129
  88.     Terriers                                        136
  89. Cats                                        128
  90.     Siamese                                        134
  91.     Persian                                        130
  92. Bobs                                        138
  93.     Bob Smith                                        140
  94.     Bob Jones                                        139399
  95. Dogs                                        62
  96.     Dalmations                                        132
  97.     Poodles                                        129
  98.     Terriers                                        136    Elm                                        97
  99.     Spruce                                        96                    44
  100.     Untitled                                        87
  101. marker
  102. vertLoc
  103. vertLoc b 
  104. value
  105.     ypix = 
  106. syspageunitsperpixel
  107.     s = 
  108.     halfH = 
  109. C- 3*
  110. strChecked
  111. buttonGroup
  112. yunewTopic
  113. false
  114. outline
  115. newChapter
  116. qkinitializePage
  117. Chapter
  118. Untitled
  119. header
  120. title
  121. buttonclick
  122. buttonclick
  123.     stl = selectedTextLines 
  124. "outline" 
  125. vRef 
  126. parentwindow 
  127. initializePage 
  128. currentPage 
  129. %modal
  130. isopen 
  131. pRef 
  132.         close 
  133.         title = "Untitled"
  134. B"Chapter" 
  135. newChapter 
  136. newTopic stl
  137. strChecked
  138. &New...
  139. editTopic
  140. strChecked
  141. &Delete
  142. updateButtons
  143. check
  144. buttonclick
  145. buttonclick
  146. s_cancel
  147. buttonclick
  148. buttonclick
  149. 4s_cancel
  150. Edit &Title:
  151. header
  152. topline
  153. group
  154. topLine
  155. X sizeIt
  156. bottomLine
  157. sizeIt
  158. sizeIt
  159. bottomLine 
  160. topline 
  161. m"topLine" 
  162. objs 
  163.         rec = 
  164.         sz = 
  165.         pupp = syspageUnitsPerPixel
  166. sz > 
  167. sz > 
  168.             xpix = 
  169. syspageunitsperpixel
  170.             ypix = 
  171.             b = 
  172.             ll = 
  173.             lr = 
  174.             ur = 
  175.             ul = 
  176. ul,lr
  177. --            
  178. ll,lr,ur
  179. --            
  180. ll,ul,
  181. in,ms
  182. ThreeDeeRect
  183. bottomLine
  184. topLine
  185. header
  186. pageId
  187. lineNum
  188. BobsJonesrt
  189. character
  190. paragraph
  191. newChapterOrTopic
  192. cancel
  193. initializePage
  194. cancel
  195. keyChar
  196.     close 
  197. initializePage val
  198. keyEnter
  199. chapter
  200. &Chapter
  201. &Topic
  202. buttonclick
  203. buttonclick
  204. Cancel
  205. buttonclick
  206. buttonclick
  207. Cancel
  208. Cancel
  209. strChecked
  210. strChecked
  211. strChecked
  212. chapter
  213. myChapterID
  214. Bob Jonesrt
  215. myChapterID
  216. Bob Smithr
  217. chapter
  218. myChapterID
  219. 140,139
  220. myPages
  221. Bobss
  222. 140,139
  223. Persiand
  224. chapter
  225. myChapterID
  226. label
  227. Siamesed
  228. myChapterID
  229. chapter
  230. myChapterID
  231. myPages
  232. label
  233. Catstled
  234. 134,130
  235. 134,130
  236. Terriers
  237. myChapterID
  238. chapter
  239. Poodlesd
  240. chapter
  241. myChapterID
  242. label
  243. content
  244. out,none
  245. ThreeDeeRect
  246. bottomLine
  247. topLine
  248. out,none
  249. ThreeDeeRect
  250. bottomLine
  251. topLine
  252. out,none
  253. ThreeDeeRect
  254. bottomLine
  255. topLine
  256. mychapterid
  257. title
  258. enterpage
  259. notifybefore 
  260. mychapterid 
  261. title 
  262. Dogsenting RSIs
  263. s_oldScolor
  264. s_oldFcolor
  265. buttondown
  266. s_oldScolor
  267. s_oldFcolor
  268. buttonup
  269. buttonclick
  270. 4s_oldFcolor,s_oldScolor
  271. "sign" 
  272. s_oldFColor 
  273. [s_oldSColor
  274. buttonclick
  275. polygon
  276. s_oldFcolor
  277. buttondown
  278. polygon
  279. s_oldFcolor
  280. buttonup
  281. 4s_oldFcolor
  282. s_oldFColor 
  283. enterpage
  284. notifybefore 
  285. buttonclick
  286. buttonclick
  287. enterpage
  288. notifybefore 
  289. buttonclick
  290. buttonclick
  291. buttonclick
  292. buttonclick
  293. arrow
  294. title
  295. -%,    #?
  296. itemoffset
  297. chapidnum
  298. mychapterid
  299. OBmypages
  300. idnum
  301. enterpage
  302. notifyBefore 
  303. chapidnum 
  304. mychapterid 
  305. mypages 
  306. itemoffset(
  307. 2) && "
  308. " && 
  309. 1 of 3
  310. --notifybefore 
  311. Press F3 to enter Author mode
  312. $^    @@
  313. s_oldScolor
  314. buttondown
  315. s_oldScolor
  316. buttonup
  317. helpTemplate
  318. buttonclick
  319. 4s_oldScolor
  320. s_oldSColor 
  321. buttonclick
  322. helpTemplate
  323. tableofcontents
  324. myCurrentChapter
  325. 71,Introduction
  326. 62,Preventing RSIs
  327. 76,About RSIs
  328. voutline
  329. label
  330. Introductionhtg
  331. chapternum
  332. label
  333. Introductionhtg
  334. chapternum
  335. label
  336. Introductionhtg
  337. chapternum
  338. label
  339. Introductionhtg
  340. chapternum
  341. idnum
  342. label
  343. RSI quiztionhtg
  344. chapternum
  345. idnum
  346. label
  347. BobssledIs RSIs
  348. chapternum
  349. topLine
  350. idnum
  351. label
  352. Dogssnting RSIs
  353. chapternum
  354. idnum
  355. label
  356. Catstledng RSIs
  357. chapternum
  358. enterpage
  359. V1D1~
  360. ThreeDeeRect
  361. in,ms
  362. bottomLine
  363. strChecked
  364. Place your content on the pages of this background. 
  365. For further information on how to use this template, choose Using This Template from the Author-level Help menu.
  366. Delete this field when you need it no longer.......d it no longer.on the topic navigates to that page.
  367. Delete this field when you need it no longer.
  368. myChapterID
  369. chapter
  370. Dalmations
  371. chapterHeadings
  372. Pages on this background are used as placeholders that mark the beginning of a chapter. These pages will not be seen in reader mode navigation.
  373. title
  374. Chapter heading page for:
  375. label
  376. OBmyPages
  377. enterpage
  378. tline
  379. buttondoubleclick
  380. notifybefore 
  381. ZpList,tlist
  382.     plist = myPages 
  383. label 
  384.     stl = 
  385. oselectedTextLines
  386.         tline = 
  387.         navID = 
  388.  )+1 
  389. Dalmations    132
  390. Poodles    129
  391. Terriers    136
  392. Topics of this chapter
  393. enterpage
  394. myChapterID
  395. 132,129,136
  396. myPages
  397. chapterCount
  398. topicCount
  399. label
  400. Dogssnting RSIs
  401. 132,129,136
  402. topicsBackground
  403. buttonclick
  404. buttonclick
  405. Page 
  406. topicsBackground()
  407. 9501231307341047639125494508
  408. author
  409. leavePage
  410. enterPage
  411. book Title
  412. introscreen
  413. out,sculpted
  414. ThreeDeeRect
  415. bottomLine
  416. topLine
  417. title
  418. CBT Template
  419. Click anywhere to go on
  420. in,ms
  421. ThreeDeeRect
  422. bottomLine
  423. topLine
  424. strChecked
  425. Put your introductory graphics and text here.
  426. Delete this field when you need it no longer.mplate, choose Using This Template from the Author-level Help menu.
  427. Delete this field when you need it no longer.it no longer.d it no longer.on the topic navigates to that page.
  428. Delete this field when you need it no longer.
  429. YM_BeenHere
  430. Page id 95
  431. nitis"
  432. outline
  433. page "outlineOrganizer"
  434. Outline
  435. clientSz
  436. page "newChapterOrTopic"
  437. 49,250
  438. Page id 94
  439. 2025,3825
  440. ge id 101 of Book "C:\HOOK\RSI3.TBK"
  441. Page id 122
  442. Quiz!
  443. Page id 85
  444. Page id 100 of Book "C:\HOOK\TEMPLAT1.TBK"
  445. 2025,3930
  446. \HOOK\TEMPLAT1.TBK"
  447. page "carpalTunnel"
  448. popuptext
  449. 2025,3525
  450.  Sans Serif
  451. Arial
  452. MS Sans Serif
  453. scrolling
  454. minbox
  455. sysmenu
  456. maxbox
  457. author
  458. tb30win.dll
  459. minbox
  460. sysmenu
  461. 9verticalDisplayRes
  462. maxbox
  463. horizontalDisplayRes
  464. fverticalDisplayRes
  465. horizontalDisplayRes
  466. reader
  467. outline
  468. ainitpage
  469. outlineOrganizer
  470. outline
  471. captionBar 
  472. thickframe
  473. style 
  474. ,maxbox,minbox,sysmenu
  475. X"tb30win.dll"
  476. horizontalDisplayRes()
  477. verticalDisplayRes()
  478. clientsize 
  479. qes()*
  480. sysPageUnitsPerPixel,\
  481. outline
  482. initpage 
  483. "outlineOrganizer"
  484. %modal
  485. Arial
  486. Arial
  487. System
  488. info_LastSaved
  489. Group id 59 of Page id 72
  490. MS Sans Serif
  491. Arial
  492. @80*x<
  493. MS Sans Serif
  494. false
  495. firstTime
  496. 1/23/95 1:09:32 PM
  497. Arial
  498. MS Sans Serif
  499.  Sans Serif
  500. Arial
  501. MS Sans Serif
  502. ,sysmenu
  503. X"tb30win.dll"
  504. horizontalDisplayRes()
  505. verticalDisplayRes()
  506. clientsize 
  507. qes()*
  508. sysPageUnitsPerPixel,\
  509. outline
  510. initpage 
  511. "outlineOrganizer"
  512. %modal
  513. AUTHOR
  514. C:\VIDEOFX.AVI
  515. C:\VIDEOFX.AVI
  516. C:\VIDEOFX.AVI
  517. Copyright 
  518.  1994
  519. Asymetrix Corporation
  520.  gives you permission 
  521. e, revise, 
  522. reuse the
  523. individual 
  524. scripts 
  525. your own
  526. applications.
  527. You may 
  528. J entire 
  529. substantial part 
  530. redistribution 
  531. b product.
  532. retains 
  533.  copyright on 
  534.  original elements 
  535.  . Include 
  536.  notice "Portions 
  537.  are 
  538. contain 
  539. copied 
  540. Author: Joseph Brick
  541. Last revision: 5/9/94
  542. enterApplication
  543. "introscreen"
  544. sysRuntime 
  545. c"&Contents" 
  546. fhelpText "Options 
  547. modifying content 
  548. template."
  549. e"Template &Outline" alias "outline" 
  550. c"contents" 
  551. fhelptext\
  552.          "Displays/hides 
  553. I palette."
  554. e"New &Chapter..." 
  555.          "Adds 
  556. qchapter 
  557. e"Change C&
  558. Name.." 
  559. changeName" 
  560.          "Changes 
  561. current 
  562. Topic..." 
  563. e"Using 
  564. helpTemplate" 
  565. ) on 
  566. firstTime 
  567. rebuildStructure
  568. entermenu menuName,menuAlias
  569. chaptersBackground() 
  570.             enable 
  571.             disable 
  572. TopicsBackground() 
  573. leaveapplication
  574.     oldSys = 
  575. 1= FALSE
  576. isOpen 
  577. focusWindow
  578. state 
  579. captionBar 
  580. maximized
  581.     mstate = menuItemChecked("
  582.             close 
  583. inserted 
  584. area,
  585. beyond 
  586. topicsBackground())
  587.  Utility handlers 
  588. -- returns 
  589. /reference 
  590. headings 
  591. /"chapterheadings"
  592.  updatePalette
  593. ZchapterCounter
  594. ZpagesOfEachChapter,curPage,curBackground,prevChapterHeadingPage,chapterList,listBoxText
  595. ) = 2
  596.     pageCounter = 2
  597.         curPageId = 
  598.         pagelabel = 
  599. xNULL
  600. myPages 
  601. curChapterId = 
  602. myChapterID 
  603.  = curChapterID
  604. & "," & pageLabel 
  605. & tabSpacer() & 
  606.             -- 
  607. either 
  608. /. Move 
  609. ;backgrounds
  610. age = 
  611.     voutline 
  612. "tableOfContents" 
  613. initializePage 
  614. currentPage 
  615. -- Used 
  616.  box 
  617. a dialog 
  618. used 
  619. store extra information that gets clipped 
  620. side 
  621. extractName t
  622.     tabOffset = 
  623. extractID t
  624.     lastTabLoc = 
  625. U(t) 
  626. numerical location 
  627. itemOffset itm,lst
  628. color
  629. middleGray
  630. 240,63.5,2.1875
  631. dark 
  632. darkBlue
  633. 240,25.125,100
  634. tabs. This serves a spacer between 
  635. on each 
  636. listbox. 
  637.     mydir = 
  638.     sen = sysErrorNumber
  639.     se = 
  640.     ss = 
  641.     bref = 
  642. u&"tmplhelp.tbk")
  643. 1= ss
  644. "Cannot find 
  645. 8TMPLHELP.TBK"
  646.         vref = 
  647. defaultpage 
  648. "cbt1" 
  649. r= se
  650. newChapter promptForName
  651.     chapterName = "Untitled"
  652. ("Enter 
  653.         ls = 
  654.         ssm = syssuspendmessages
  655. !"skipdialog"
  656. e= ls
  657. newTopic pageNum
  658.         ls = 
  659.  = ssm
  660. e= ls
  661. AUTHOR
  662. sized
  663. ZbuttonPos
  664.     spupp = sysPageUnitsPerPixel
  665. pRef 
  666. currentPage 
  667. gHeader 
  668. gButtons 
  669. "buttonGroup" 
  670. gOutline 
  671. "outline" 
  672. marker 
  673. oclientsize
  674. rightBorder 
  675. cs - 
  676. bottomBorder 
  677. cs - 
  678. bSize 
  679. cs - 
  680. sizeIt 
  681.  - 4*
  682. fb+10*
  683. fb - 18*
  684. openWindow
  685. Zsm_cxframe,sm_cyframe,sm_cycaption,defaultSize,defaultPosition
  686. {winRef
  687. 4metric indexes:
  688.  32 -- width 
  689. sizable 
  690.  33 -- height 
  691. 4 -- 
  692. 3000,5000
  693. "0,0"
  694. X"user"
  695.         INT getSystemMetrics(
  696.     -- cache 
  697. {references
  698. stored clientSize 
  699. ini file
  700. clientSz 
  701. pageUnitsToClient(
  702. the borders 
  703. captions 
  704. extraWidth 
  705. extraHeight 
  706. )*2+\
  707. winref 
  708.     -- calculate maximimum 
  709. ebased on 
  710. maxSize 
  711. "outlineOrganizer" )
  712. maximumSize 
  713. chandling 
  714. about box:
  715. windowsized 
  716. closeWindow
  717. statusbar
  718. label
  719. "title" 
  720. value
  721. "outline"
  722. selectedTextLines 
  723. currentPage 
  724. clearing a 
  725. "You cannot delete the 
  726. "Warning: 
  727. operation 
  728. 9be reversed 
  729. ]Undo." 
  730. f"OK" 
  731. "Cancel"
  732. ls = 
  733. curBK = 
  734. xtopicsBackground() 
  735. xchaptersBackground()
  736. rebuildStructure
  737. e= ls
  738. -- same 
  739. [handler
  740. f"OK" 
  741. ls = 
  742. e= ls
  743. newChapter
  744. "outline"
  745. selectedTextLines 
  746. currentPage 
  747. label
  748. "title" 
  749. value
  750. added, 
  751. newTopic    
  752. [the 
  753. myPages userProperty 
  754. -- chapter heading 
  755. deleted.
  756. "You cannot 
  757. "Warning: 
  758. operation 
  759. 3be reversed 
  760. ]Undo." 
  761. f"OK" 
  762. "Cancel"
  763. ls = 
  764. curBK = 
  765. xtopicsBackground() 
  766. xchaptersBackground()
  767. rebuildStructure
  768. e= ls
  769. -- maintain navigational structure 
  770. f"OK" 
  771. ls = 
  772. e= ls
  773. numTabs
  774. normalFill
  775. 240,18.8125,100
  776. normalStroke
  777. highlightFill
  778. 240,37.625,33.3125
  779. highlightStroke
  780. highlighted 
  781. value
  782. H-30,-30
  783. B"chapternum" 
  784. H30,30
  785. currentChapter 
  786.  > 0 
  787. "mask" 
  788. myCurrentChapter 
  789. updateLabels
  790.         curGroup = 
  791. "label" 
  792. (idnum 
  793. voutline 
  794. numChapters 
  795. curTextLine 
  796. curgroup 
  797. curTextline 
  798. notifyBefore 
  799. buttonclick
  800. chapButton 
  801. oldChap 
  802. xisObject("
  803. " && 
  804. "The 
  805.  heading 
  806. has been deleted. To reset, 
  807. the ""Content Outline"" dialog box 
  808. press ""OK"""
  809. myPages 
  810. "This 
  811. navPage
  812. -- initializes the 
  813. structure 
  814. outline form 
  815. chapters 
  816. <current 
  817. (curPageNum) 
  818. highlighted.
  819. initializePage listBoxText
  820.     outlineField = 
  821.         pNum = 
  822. selectedTextlines 
  823. 3-1,1))
  824. scrollToSelectedTextline 
  825. updateHeader 
  826. 4s_lheight
  827. -- reorders 
  828. 8based on 
  829. Qmade 
  830. ZcurChapterID,curChapterTitle,pageList,chapterList
  831.     voutline = 
  832.     -- walk through each 
  833.     chapterCount = 0
  834.         curTextLine = 
  835.         curID = extractID(
  836.         -- 
  837. numbers. 
  838. rebuildStructure 
  839. -- gets 
  840. strings 
  841. following two types:
  842. p><tabs><
  843. extractName strng
  844.     tabOffset = 
  845.     lastTabLoc = 
  846. -- puts a 
  847. insertName 
  848. ,newName
  849. "<Untitled>"
  850.         startLoc = 2
  851.     endLoc = 
  852. R(startloc - 1) 
  853. -- pulls 
  854. zout 
  855. -- <n: ><
  856. extractNumber txt
  857. colOffset 
  858. ~(":",
  859. .- 1 
  860. istype("
  861. 4s_cancel
  862. keyEnter
  863. updateText
  864. lineNum 
  865. chapter 
  866. fref 
  867. "outline"
  868. curLine 
  869. insertName(
  870.     pRef = 
  871. (pageID 
  872. label 
  873. chaptersBackground()
  874. updateLabels 
  875. "tableofcontents" 
  876.         bkRef = 
  877. topicsBackground()
  878. 4s_enterText
  879. enabled 
  880. "updateButtons" 
  881. buttonclick
  882.     o = 
  883. "outline" 
  884.     stl = selectedTextLines 
  885.     tlineNum = 
  886. chapterOrPage 
  887. "Delete 
  888. (s)?" 
  889. f"OK" 
  890. "Cancel"
  891. startline 
  892.         ssm = sysSuspendMessages
  893. (stl)
  894. curID = extractID(
  895. BstartLine 
  896. "Cannot delete the 
  897. /" && 
  898. /& "."
  899.             curBK = 
  900. xtopicsBackground() 
  901. xchaptersBackground()
  902.  = ssm
  903. rebuildStructure
  904. renumberText
  905. count 
  906. extractNumber(
  907. ~(":",
  908. t)-1 
  909. key,isShift
  910. keyupArrow && keyDownArrow && keyFirst && keyLast
  911. oselectedtextlines
  912. updateHeader tl
  913. 4s_cancel
  914.         stl = selectedTextLines 
  915. lineNum
  916.     fref = 
  917.     txtline = 
  918. chapter 
  919. txtLine)
  920. extractName(
  921. pageId 
  922. extractID(
  923. enabled 
  924. "updateButtons" 
  925. maxChapter
  926. C(t) 
  927. -- This 
  928. main dragAndDrop code:
  929. 4s_navFromPalette
  930.         sls = 
  931. gotopage 
  932. enormous handler handles selecting, dragging, 
  933. dropping 
  934. listbox
  935. ZstartLine,endLine,lineHeight,mybounds,xloc,mytext
  936.     -- Find 
  937. Bclicked on. 
  938. will be 
  939. starting 
  940.         -- Break 
  941. user 
  942. V edge 
  943.         startline = 
  944. <= 0 
  945. Uwe want 
  946. n. we 
  947. value
  948.     -- later 
  949. we've 
  950.  a heading:
  951.     endline = 
  952.     -- lineheight 
  953. pageUnits 
  954. (see 
  955. below):
  956.     -- Cache commonly used values 
  957.     xpix = 
  958. sysPageUnitsPerPixel
  959.     ypix = 
  960.     myBounds = 
  961.     myText = 
  962.     marker = 
  963.     totalLineCount = 
  964.  we know 
  965. be between 
  966. sides 
  967.     -- The following section selects 
  968. B(s):
  969.     -- lineList 
  970.  corresponding 
  971.     -- we wish 
  972. 9-- (We've 
  973.         headingOrTopic = "
  974.         -- Walk down 
  975. Zwe hit another 
  976.         -- incrementing 
  977. needed:
  978. oselectedTextlines 
  979. moves 
  980. arrow up 
  981.     -- targetLine 
  982. insertion point 
  983. loop executes 
  984. mousebutton 
  985. released:
  986.         mouseLoc = 
  987.             -- 
  988. above 
  989. -- calculate 
  990. Ucurrently 
  991.             -- 
  992. there's 
  993. beyond 
  994.             -- 
  995. somewhere 
  996.             pnt = 
  997.             -- 
  998. -- vertLoc 
  999. -- lineYloc returns 
  1000. `location 
  1001. a given 
  1002.             -- 
  1003.             -- 
  1004. inside 
  1005. U(s):
  1006. toward 
  1007. U(s) 
  1008. 1 place 
  1009.         -- 
  1010. that we 
  1011.         -- numLines 
  1012. .     + 1
  1013.         -- 
  1014. targetline > 
  1015.         -- we 
  1016. asure 
  1017. moved 
  1018.         -- 
  1019.         -- 
  1020. original 
  1021.         -- 
  1022. "," & 
  1023. reorder
  1024. scrollToSelectedTextLine
  1025. (stl) 
  1026.     b = 
  1027.     s = 
  1028. > s + 
  1029. - numlines,0)
  1030. units 
  1031.  - 1 - 
  1032. -- adjusts 
  1033. . Called 
  1034. adjustsize n
  1035.     b = 
  1036.  * n + 3*
  1037.     v = 
  1038. b - 16*
  1039. -- initialize the 
  1040. sized
  1041.     outfield = 
  1042. "outline" 
  1043.         ypix = 
  1044. sysPageUnitsPerPixel
  1045.         o = 
  1046.         b = 
  1047.         syssuspendmessages = 
  1048. adjustsize 
  1049. ylineheight 
  1050. o,3) 
  1051. font gets changed 
  1052. , reset 
  1053. fontChange 
  1054. 4s_lheight
  1055. notifyAfter 
  1056. -- returns 
  1057. a given 
  1058. linkStuff
  1059. fref 
  1060. makeFont 
  1061. stringHeight()
  1062. destroyFont
  1063.  windows 
  1064. stuff 
  1065. linkstuff
  1066. X"gdi"
  1067. getTextExtent(
  1068. gselectObject(
  1069. deleteObject(
  1070. gcreateFont(
  1071.     linkDLL "user"
  1072. ggetDC(
  1073. releaseDC(
  1074. makefont fontName,pitch,
  1075. weight 
  1076. ghfont,hOldObject,hdc
  1077. sysClientHandle)
  1078. syspageunitsperpixel
  1079. fheight 
  1080. ((1440/
  1081. /72)) -- 
  1082. pixels
  1083. hFont 
  1084. <,0,0,0,
  1085. ,0,0,0,0,0,0,0,0,
  1086. "Failure: no logical 
  1087. created."
  1088. -- kills 
  1089. sysclientHandle,
  1090. twips, 
  1091. length 
  1092. stringLen 
  1093.     ,strlen
  1094. strLen 
  1095. k65536) * 
  1096. "aaa",3) 
  1097. y65536) * 
  1098. Displays/hides Template Outline palette.
  1099. helpTemplate
  1100. &Contents
  1101. Change To&pic Name..
  1102. Using this &Template
  1103. introscreen
  1104. Displays help on using this template.
  1105. Options for modifying content of this template.
  1106. Changes name of current chapter.
  1107. New &Chapter...
  1108. outline
  1109. false
  1110. changeName
  1111. rebuildStructure
  1112. firstTime
  1113. firstTime
  1114. Adds new chapter to this book.
  1115. Change C&hapter Name..
  1116. Changes name of topic chapter.
  1117. New &Topic...
  1118. Adds new topic to this chapter.
  1119. contents
  1120. Template &Outline
  1121. enterApplication
  1122. Change Chapter Name...
  1123. chaptersBackground
  1124. author
  1125. outline
  1126. Change Topic Name...
  1127. contents
  1128. TopicsBackground
  1129. entermenu
  1130. helpTemplate
  1131. Contents
  1132. leaveapplication
  1133. outline
  1134. author
  1135. outline
  1136. reader
  1137. outline
  1138. mstate
  1139. rebuildStructure
  1140. contents
  1141. outline
  1142. chaptersBackground
  1143. topicsBackground
  1144. newBackground
  1145. chapterheadings
  1146. chaptersBackground
  1147. content
  1148. topicsBackground
  1149. w,    #>
  1150. .',    7
  1151. w,    #>
  1152. PBmyPages
  1153. voutline
  1154. curChapterId
  1155. myChapterID
  1156. introscreen
  1157. pagelabel
  1158. outline
  1159. y5chapter
  1160. tabSpacer
  1161. curPageId
  1162. tableOfContents
  1163. Content
  1164. chaptersBackground
  1165. label
  1166. topicsBackground
  1167. qkinitializePage
  1168. rebuildStructure
  1169. .',    "
  1170. extractName
  1171. extractID
  1172. ,&H.&
  1173. itemOffset
  1174. O@middleGray
  1175.  9@darkBlue
  1176. tabSpacer
  1177. .',    "
  1178. Cannot find book TMPLHELP.TBK
  1179. mydir
  1180. tmplhelp.tbk
  1181. helpTemplate
  1182. initializePage
  1183. cancel
  1184. chaptersBackground
  1185. label
  1186. rebuildStructure
  1187. chapterName
  1188. skipdialog
  1189. Enter new chapter name.
  1190. Untitled
  1191. topicsBackground
  1192. newChapter
  1193. cancel
  1194. Enter new topic name.
  1195. chaptersBackground
  1196. lastPage
  1197. label
  1198. rebuildStructure
  1199. chapterName
  1200. skipdialog
  1201. Untitled
  1202. topicsBackground
  1203. newTopic
  1204. cancel
  1205. Enter new name.
  1206. label
  1207. rebuildStructure
  1208. label
  1209. changeName
  1210. AUTHOR
  1211. sizeToPage
  1212. buttonGroup
  1213. gHeader
  1214. marker
  1215. gButtons
  1216. outline
  1217. spupp
  1218. X sizeIt
  1219. bSize
  1220. header
  1221. gOutline
  1222. rightBorder
  1223. sized
  1224. getSystemMetrics
  1225. exclientSz
  1226. maxSize
  1227. clientSz
  1228. getSystemMetrics
  1229. outlineOrganizer
  1230. openWindow
  1231. <+V!!
  1232. statusbar
  1233. fxclientSz
  1234. closeWindow
  1235. title
  1236. label
  1237. title
  1238. label
  1239. outline
  1240. enterPage
  1241. .',    "
  1242. Cancel
  1243. Warning: this operation cannot be reversed using Undo.
  1244. chaptersBackground
  1245. curBK
  1246. rebuildStructure
  1247. You cannot delete the last page of this background.
  1248. topicsBackground
  1249. clear
  1250. .',    "
  1251. Cancel
  1252. Warning: this operation cannot be reversed using Undo.
  1253. chaptersBackground
  1254. curBK
  1255. rebuildStructure
  1256. You cannot delete the last page of this background.
  1257. topicsBackground
  1258. newChapter
  1259. newPage
  1260. outline
  1261. enterPage
  1262. title
  1263. label
  1264. title
  1265. label
  1266. yunewTopic
  1267. newPage
  1268. .',    "
  1269. Cancel
  1270. Warning: this operation cannot be reversed using Undo.
  1271. chaptersBackground
  1272. curBK
  1273. rebuildStructure
  1274. You cannot delete the last page of this background.
  1275. topicsBackground
  1276. clear
  1277. .',    "
  1278. Cancel
  1279. Warning: this operation cannot be reversed using Undo.
  1280. chaptersBackground
  1281. curBK
  1282. rebuildStructure
  1283. You cannot delete the last page of this background.
  1284. topicsBackground
  1285. numTabs
  1286. 2@normalFill
  1287. normalStroke
  1288. B@highlightFill
  1289. highlightStroke
  1290. 2normalStroke
  1291. chapternum
  1292. normalFill
  1293. 8highlightFill
  1294. highlightStroke
  1295. highlighted
  1296. false
  1297. myCurrentChapter
  1298. EnumTabs
  1299. highlighted
  1300. currentChapter
  1301. currentChapter
  1302. myCurrentChapter
  1303. currentChapter
  1304. ,&H.&
  1305. label
  1306. curGroup
  1307. idnum
  1308. label
  1309. updateLabels
  1310. curTextLine
  1311. curgroup
  1312. label
  1313. idnum
  1314. EnumTabs
  1315. idnum
  1316. voutline
  1317. x5chapter
  1318. currentChapter
  1319. enterpage
  1320. w,    #?
  1321. oldChap
  1322. The chapter heading page has been deleted. To reset, open the "Content Outline" dialog box and press "OK"
  1323. Button
  1324. curGroup
  1325. navPage
  1326. Field
  1327. chapButton
  1328. idnum
  1329. page id
  1330. This chapter has no pages.
  1331. chapternum
  1332. currentChapter
  1333. OBmyPages
  1334. currentChapter
  1335. buttonclick
  1336. outlineField
  1337. outline
  1338. LPscrollToSelectedTextline
  1339. updateHeader
  1340. initializePage
  1341. s_lheight
  1342. enterpage
  1343. ,&H.&
  1344. extractID
  1345. curTextLine
  1346. false
  1347. outline
  1348. curID
  1349. voutline
  1350. rebuildStructure
  1351. curPage
  1352. reorder
  1353. extractName
  1354. extractID
  1355. 1,    "j
  1356. <Untitled>
  1357. insertName
  1358. .',    "
  1359. extractNumber
  1360. s_cancel
  1361. false
  1362. keychar
  1363. curLine
  1364. bkRef
  1365. chaptersBackground
  1366. outline
  1367. label
  1368. insertName
  1369. pageID
  1370. tableofcontents
  1371. content
  1372. chapter
  1373. x5chapter
  1374. lineNum
  1375. topicsBackground
  1376. BlineNum
  1377. updateLabels
  1378. updateText
  1379. s_enterText
  1380. updateButtons
  1381. enterField
  1382. s_cancel
  1383. s_enterText
  1384. updateButtons
  1385. updateText
  1386. leaveField
  1387. Cancel
  1388. extractID
  1389. chaptersBackground
  1390. curBK
  1391. chapterOrPage
  1392. tlineNum
  1393. curID
  1394. Cannot delete the last page of background
  1395. startline
  1396. rebuildStructure
  1397. chapter
  1398. Delete selected page(s)?
  1399. outline
  1400. topicsBackground
  1401. buttonclick
  1402. 1,    "j
  1403. ,&H.&
  1404. count
  1405. OZextractNumber
  1406. renumberText
  1407. keychar
  1408. keyFirst
  1409. keyLast
  1410. keyup
  1411. .'+    +
  1412. txtline
  1413. s_cancel
  1414. extractID
  1415. extractName
  1416. y5chapter
  1417. BlineNum
  1418. updateButtons
  1419. lineNum
  1420. OZextractNumber
  1421. pageId
  1422. header
  1423. updateHeader
  1424. OZextractNumber
  1425. maxChapter
  1426. extractID
  1427. gotopage
  1428. s_navFromPalette
  1429. buttondoubleclick
  1430. V,    #>
  1431. mouseLoc
  1432. 7renumberText
  1433. marker
  1434. count
  1435. headingOrTopic
  1436. lineHeight
  1437. targetLine
  1438. lineList
  1439. /?reorder
  1440. tlines
  1441. topic
  1442. llineYloc
  1443. heading
  1444. updateHeader
  1445. tline
  1446. IvertLoc
  1447. buttondown
  1448. lineHeight
  1449. scrollToSelectedTextLine
  1450. lineYloc
  1451. marker
  1452. lineHeight
  1453. adjustsize
  1454. outline
  1455. lineheight
  1456. outfield
  1457. adjustsize
  1458. sized
  1459. s_lheight
  1460. fontChange
  1461. fontChange
  1462. character
  1463. fontChange
  1464. paragraph
  1465. UdmakeFont
  1466. destroyFont
  1467. linkStuff
  1468. outline
  1469. s_lheight
  1470. /$stringHeight
  1471. lineheight
  1472. getDC
  1473. releaseDC
  1474. SIgetTextExtent
  1475. selectObject
  1476. deleteObject
  1477. bol-#
  1478. createFont
  1479. linkstuff
  1480. ,"JHY
  1481. selectObject
  1482. hOldObject
  1483. }releaseDC
  1484. Failure: no logical font created.
  1485. getDC
  1486. createFont
  1487. hfont
  1488. weight
  1489. makefont
  1490. .',    "
  1491. selectObject
  1492. deleteObject
  1493. hOldObject
  1494. }releaseDC
  1495. hfont
  1496. destroyFont
  1497. jogetTextExtent
  1498. stringLen
  1499. jogetTextExtent
  1500. stringHeight
  1501. CDBSE&File
  1502. &Open...    Ctrl+O
  1503. &Save    Ctrl+S
  1504. Save &As...
  1505. saveas
  1506. &Import...
  1507. import
  1508. &Export...
  1509. export
  1510. Print Set&up...
  1511. printsetup
  1512. &Print Pages...    Ctrl+P
  1513. printpages
  1514. Prin&t Report...
  1515. printreport
  1516. Send &Mail...
  1517. sendmail
  1518. &Run...
  1519. E&xit    Alt+F4
  1520. &Edit
  1521. &Undo    Ctrl+Z
  1522. Cu&t    Ctrl+X
  1523. &Copy    Ctrl+C
  1524. &Paste    Ctrl+V
  1525. paste
  1526. C&lear    Del
  1527. clear
  1528. Select &All    Shift+F9
  1529. selectall
  1530. Select Pa&ge    Shift+F12
  1531. selectpage
  1532. &Size to Page    F11
  1533. sizetopage
  1534. F&ind...    F5
  1535. Re&place...
  1536. replace
  1537. Aut&hor    F3
  1538. author
  1539. &Text
  1540. &Character...    F6
  1541. character
  1542. &Paragraph...    F7
  1543. paragraph
  1544. &Regular    Ctrl+Space
  1545. regular
  1546. &Bold    Ctrl+B
  1547. &Italic    Ctrl+I
  1548. italic
  1549. &Underline    Ctrl+U
  1550. underline
  1551. Stri&keout    Ctrl+K
  1552. strikeout
  1553. Superscrip&t/Subscript
  1554. superscriptSubscript
  1555. &Normal Script
  1556. normalscript
  1557. Su&bscript    Ctrl+L
  1558. subscript
  1559. Su&perscript    Ctrl+Shift+L
  1560. superscript
  1561. &Show Hotwords    F9
  1562. showhotwords
  1563. &Page
  1564. &Next    Alt+Right
  1565. &Previous    Alt+Left
  1566. previous
  1567. &First    Alt+Up
  1568. first
  1569. &Last    Alt+Down
  1570. &Back    Shift+F2
  1571. &History...    Ctrl+F2
  1572. history
  1573. N&ew Page    Ctrl+N
  1574. newpage
  1575. &Help
  1576. &Contents    F1
  1577. contents
  1578. Status &Bar    F12
  1579. statusbar
  1580. wrwww
  1581. w"'ww
  1582. r'"ww
  1583. "wr'w
  1584. 'ww"w
  1585. wwwr'
  1586. wwww"
  1587. wwwwr
  1588. wxwww
  1589. wwwwx
  1590. xwwwp
  1591. xwwwp
  1592. xwwwp
  1593. xwwwp
  1594. xwwwp
  1595. xwwwp
  1596. wwwwwp
  1597. wwwwwwwwwwwwwwwww
  1598. wwwwwwwwwwwwwwwww
  1599. wwwwwwwwwwwwwwwww
  1600. wwwwwwwwwwwwwwwww
  1601. wwwwwwwwwwwwwwwww
  1602. wwwwwwwwwwwwwwwww
  1603. wwwwwwwwwwwwwwwww
  1604. wwwwwwwwwwwwwwwww
  1605. wwwwwwwwwwwwwwwww
  1606. wwwwwww
  1607. wwwwww
  1608. wwwww
  1609. wwwww
  1610. wwwwww
  1611. wwwwwwwwwwwwwwwwwwwwww
  1612. wwwwwwwwwwwwwwwww
  1613. wwwwwww
  1614. wwwwww
  1615. wwwww
  1616. wwwww
  1617. wwwwww
  1618. wwwwwwwwwwwwwwwwwwwwww
  1619. wrwww
  1620. w"'ww
  1621. r'"ww
  1622. "wr'w
  1623. 'ww"w
  1624. wwwr'
  1625. wwww"
  1626. wwwwr
  1627. wxwww
  1628. wwwwx
  1629. mmc_pause
  1630. mmc_pause_d
  1631. mmc_stop
  1632. mmc_stop_d
  1633. mmc_play
  1634. mmc_play_d
  1635. tbk_Reset
  1636. notifyAfter tbk_Reset
  1637. enterPage
  1638. tbk_Reset
  1639. Book structure
  1640. .0@0u4
  1641. propType
  1642. specialist
  1643. propOwner
  1644. Initial Book Structuree
  1645. The title page is the first page in the book.
  1646. These are general purpose content pagess
  1647. Use this pag
  1648.